// 对外暴露配置路由
export const constantRoute = [
  {
    path: '/weixin',
    component: () => import('@/views/weixin/index.vue'),
    name: 'weixin',
    meta: {
      title: '微信',
      hidden: true,
      icon: 'House'
    },
  },
  {
    path: '/',
    component: () => import('@/layout/index.vue'),
    name: 'layout',
    meta: {
      title: '首页',
      hidden: false,
      icon: 'House'
    },
    redirect: '/home',
  },
  


  {
    path: '/404',
    component: () => import('@/views/404/index.vue'),
    name: '404',
    meta: {
      title: '404',
      hidden: true,
    },
  },
  {
    path: '/:pathMatch(.*)*',
    redirect: '/404',
    name: 'Any',
    meta: {
      title: '任意路由',
      hidden: true,
    },
  },
]
